Skip to content

[3.15] gh-158973: Reset the warnings lock after fork in the child (gh-158974) - #159614

Draft
nascheme wants to merge 3 commits into
python:3.15from
nascheme:gh-158973-reset-warnings-lock-3.15
Draft

nascheme wants to merge 3 commits into
python:3.15from
nascheme:gh-158973-reset-warnings-lock-3.15

Conversation

@nascheme

@nascheme nascheme commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

nascheme and others added 3 commits October 16, 2026 20:13
Add _PyRecursiveMutex_at_fork_reinit() helper function.
Use a process global instead.  This avoids changing the interpreter
structure.

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant